return;
if ( test_and_clear_bit(0, &nmi_softirq_reason) )
- send_guest_virq(d, VIRQ_PARITY_ERR);
+ send_guest_virq(dom0, VIRQ_PARITY_ERR);
if ( test_and_clear_bit(1, &nmi_softirq_reason) )
- send_guest_virq(d, VIRQ_IO_ERR);
-
- put_domain(d);
+ send_guest_virq(dom0, VIRQ_IO_ERR);
}
- asmlinkage void math_state_restore(struct pt_regs *regs, long error_code)
+ asmlinkage void math_state_restore(struct xen_regs *regs, long error_code)
{
/* Prevent recursion. */
clts();
input_str[xen_rx], opt_conswitch[0], input_str[!xen_rx]);
}
- static void __serial_rx(unsigned char c, struct pt_regs *regs)
+ static void __serial_rx(unsigned char c, struct xen_regs *regs)
{
- struct domain *d;
-
if ( xen_rx )
{
handle_keypress(c);